package com.utils.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName randu
 */
@TableName(value ="randu")
@Data
@NoArgsConstructor
public class Randu implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer uid;

    /**
     * 
     */
    private Integer rid;

    public Randu(Integer uid, Integer rid) {
        this.uid = uid;
        this.rid = rid;
    }

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}